package com.liy.framework.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.PARAMETER})
@Documented
public @interface MethodPermission {

    boolean check() default true;

    String[] codes();

    String description() default "";

    String share() default "2";

    String message() default "无操作权限";
}
